/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.z100h.supplychain.evidence.entity;

import com.jeeplus.core.persistence.DataEntity;
import com.z100h.supplychain.core.Evidence;
import com.z100h.supplychain.warehouse.entity.Warehouse;

import java.util.List;

import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 撤场单Entity
 * @author fyh
 * @version 2019-01-10
 */
public class Withdraw extends DataEntity<Withdraw> implements Evidence {

	private static final long serialVersionUID = 1L;

	private String evidenceId; // 凭证id

	private String warehouseType; // 仓库类型

	private String warehouseId; // 仓库id

	private String withdrawReason; // 撤场原因

	private String comment; // 备注

	private Warehouse warehouse;

	private List<String> resourceIds;
	
	private String withdrawStockroomName;

	public Withdraw() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public Withdraw(String id) {
		super(id);
	}

	@Override
	@ExcelField(title = "凭证id", align = 2, sort = 7)
	public String getEvidenceId() {
		return evidenceId;
	}

	public void setEvidenceId(String evidenceId) {
		this.evidenceId = evidenceId;
	}

	@ExcelField(title = "仓库类型", align = 2, sort = 8)
	public String getWarehouseType() {
		return warehouseType;
	}

	public void setWarehouseType(String warehouseType) {
		this.warehouseType = warehouseType;
	}

	@ExcelField(title = "仓库id", align = 2, sort = 9)
	public String getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(String warehouseId) {
		this.warehouseId = warehouseId;
	}

	@ExcelField(title = "撤场原因", dictType = "sc_withdraw_reason", align = 2, sort = 10)
	public String getWithdrawReason() {
		return withdrawReason;
	}

	public void setWithdrawReason(String withdrawReason) {
		this.withdrawReason = withdrawReason;
	}

	@ExcelField(title = "备注", align = 2, sort = 11)
	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Warehouse getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(Warehouse warehouse) {
		this.warehouse = warehouse;
	}

	public List<String> getResourceIds() {
		return resourceIds;
	}

	public void setResourceIds(List<String> resourceIds) {
		this.resourceIds = resourceIds;
	}

	
	public String getWithdrawStockroomName() {
		return withdrawStockroomName;
	}

	
	public void setWithdrawStockroomName(String withdrawStockroomName) {
		this.withdrawStockroomName = withdrawStockroomName;
	}

	
}